package com.jacklin.account.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 账户
 *
 * @author: jacklin
 * @since: 2022/3/24 17:17
 */
@Data
@Accessors(chain = true)
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账户id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "账户余额")
    private BigDecimal money;

    @ApiModelProperty(value = "最近更新时间")
    private LocalDateTime lastUpdateTime;
}
